package health.lm.com.mine.entity;

import android.os.Parcel;
import android.os.Parcelable;


/**
 *  代理申请信息
 */

public class AgentListBean implements Parcelable{

    private String _id;

    private String title;

    private int money;
    private boolean checked;

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    protected AgentListBean(Parcel in) {
        _id = in.readString();
        title = in.readString();
        money = in.readInt();
    }

    public static final Creator<AgentListBean> CREATOR = new Creator<AgentListBean>() {
        @Override
        public AgentListBean createFromParcel(Parcel in) {
            return new AgentListBean(in);
        }

        @Override
        public AgentListBean[] newArray(int size) {
            return new AgentListBean[size];
        }
    };

    public void set_id(String _id){
        this._id = _id;
    }
    public String get_id(){
        return this._id;
    }
    public void setTitle(String title){
        this.title = title;
    }
    public String getTitle(){
        return this.title;
    }
    public void setMoney(int money){
        this.money = money;
    }
    public int getMoney(){
        return this.money;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(_id);
        dest.writeString(title);
        dest.writeInt(money);
    }
}
